<template>
	<view class="w">
		<view class="agreement-privacy">
			<rich-text :nodes="agreement[type]"></rich-text>
		</view>
	</view>
</template>

<script>
	import agreement from '@/common/js/agreement.js';
	export default {
		data() {
			return {
				// title: 'Hello'
				agreement,
				type: 3,
			}
		},
		onLoad(option) {
			// switch (option.type) {
			// 	case '6':
			// 		this.type = 4
			// 		break;
			// }
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	page {
		background-color: #fff;
	}

	.agreement-privacy {
		font-size: 28rpx;
		line-height: 1.5;
		word-wrap: break-word;
		padding: 24rpx;
	}

	@media only screen and(min-width:750px) {
		.w {
			width: 1000px;
			margin: auto;
		}
	}
</style>